package com.jiesen.base.modules.company.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiesen.base.baseDao.BaseModel;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * <p>
 * 公海用户
 * </p>
 *
 * @author bao
 */
@TableName("js_public_users")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class JsPublicUsers extends BaseModel {

	private static final long serialVersionUID=1L;

	@TableId(type = IdType.AUTO)
	private Integer id;	//公海客户
	private String name;  //"姓名"
	private Date birthday;  //"生日"
	private String telephone;  //"手机号"
	private String remarks;  //"备注"
    private String address; //地址
	private Integer state;  //"状态:-2、被领取、-1、无意向、 0待沟通 、1有意向、2、成交"
    private Integer areaId;     //所属大区
    private Integer branchId;   //所属分校
    private Integer groupbyId;  //所属分组
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date uts;  //"最新认领时间"
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date cts;  //"创建时间"

    @TableField(exist = false)
    private List<Integer> ids;

}
